﻿using System.Collections.Generic;

namespace ESRI.ArcGIS.Client.Tasks.Async
{
    public partial class FindTaskResult
    {
        /// <summary>
        /// The features returned by the FindTask.
        /// </summary>
        public List<FindResult> Results { get; private set; }

        /// <summary>
        /// Gets or sets a value indicating whether the number of records returned has exceeded transfer
        /// limit (max record count)
        /// </summary>
        public bool ExceededTransferLimit { get; private set; }

        internal FindTaskResult(FindEventArgs eventArgs)
        {
            Results = eventArgs.FindResults;
            ExceededTransferLimit = eventArgs.ExceededTransferLimit;
        }
    }
}


